package com.example.flowabledemo.service.impl;

import com.example.flowabledemo.data.entity.AaDepartment;
import com.example.flowabledemo.data.mapper.AaDepartmentMapper;
import com.example.flowabledemo.service.DepartmentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author linke
 * @date 2020/11/28 21:14
 * @description
 */
@Service
public class DepartmentServiceImpl implements DepartmentService {

  @Autowired
  private AaDepartmentMapper aaDepartmentMapper;

  @Override
  public AaDepartment get(String departmentName) {
    return aaDepartmentMapper.get(departmentName);
  }
}
